package com.ld.xuanKe.service;

import com.ld.xuanKe.entity.User;

import java.util.List;

public interface UserService {
	public User login(String account, String password);
	public List<User> list();
	public int delete(Integer id);
	public User querySingle(Integer id);
	public int update(User user);
	public int register(User user);
	public User getUserByAccount(String account);
	public List<User> getUsersByLikeName(String name);
	public int add(User user);
}
